import request from '@/utils/request'
import { resourcePath } from '../apiConifg'
const qs = require('qs')

/**
 *  根据字典标签，获取字典详情 getDictDetail
 * @param params
 */
export function get(params) {
  return request({
    url: resourcePath + '/sys/sys-dict/get?' + qs.stringify(params, { indices: false }),
    method: 'get'
  })
}

